package com.cc.visitor.controller;

import com.cc.alltype.ResponseResult;
import com.cc.visitor.dao.LogSignMapper;
import com.cc.visitor.entity.LogScanQrcode;
import com.cc.visitor.entity.LogSign;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

/**
 * @author chanchaw
 * @create 2025-03-15 8:14
 */
@RestController
@CrossOrigin
@RequestMapping("/logSign")
public class LogSignController {
    @Autowired
    private LogSignMapper dao;
    @PostMapping("/insert")
    public ResponseResult insert(@RequestBody LogSign record){
        return ResponseResult.ok(dao.insertSelective(record));
    }
}
